﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/MVCFoto.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
    About Us
</asp:Content>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">

		<table border="1" width="90%" cellpadding="3" style="margin-left:1em;border-collapse:collapse;">
		<%
     System.Web.Caching.Cache c = System.Web.HttpRuntime.Cache;
     if (c != null)
     {
         int i = 1;
         System.Collections.IDictionaryEnumerator cacheEnumerator = c.GetEnumerator();
         while (cacheEnumerator.MoveNext())
         {     
            %>
            <tr <%if(i%2 == 0){ %>style="background-color:#eee;"<%} %>>
               <td><%=i++ %></td><td><%=cacheEnumerator.Key %></td><td><%=cacheEnumerator.Value %></td>
           </tr>
            <%
         }
     }
		    %>
		</table>
</asp:Content>
